﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Churchtoolkit.Web.Shell.Presenters;
using Churchtoolkit.Utils.ErrorProvider;

namespace Churchtoolkit.Web
{
    public partial class Message : Page<MessagePresenter>
    {
        public string MessageCode
        {
            get
            {
                return this.Request.QueryString["Code"] ?? string.Empty;
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            ltMessage.Text = this.Presenter.GetMessage(MessageCode);
        }
    }
}